<?php
use Illuminate\Routing\Router;

Route::get('/', 'HomeController@index');

Route::get('pg', 'PatentAssessController@index');
Route::delete('pg/{id}', 'PatentAssessController@destroy');

Route::get('retrieval', 'PatentApplyController@retrieval');
Route::get('retrieved', 'PatentApplyController@retrieved');



Route::group([
    'as'         => config('evaluation.route.prefix') . '.',
], function (Router $router) {
    $router->get('ypg', 'PatentAssessController@ypg');
    $router->get('patent', 'PatentApplyController@patent');
    $router->get('patentFees', 'PatentFeeController@index');
    $router->any('myInfo', 'AuthController@myInfo');
    $router->any('auth/user', 'AuthController@myInfo');
    require dirname(__DIR__, 2) . '/routes/file.php';
});

